/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const userRouter = {
  path: '/user',
  component: Layout,
  name: 'user',
  meta: {
    title: '用户管理',
    icon: 'component'
  },
  children: [
    {
      path: 'list',
      component: () => import('@/views/user/list.vue'),
      name: 'list',
      meta: { title: '用户列表' }
    },
    {
        path: 'list-detailed',
        component: () => import('@/views/user/detailed.vue'),
        name: 'list-detailed',
        hidden: true,
        meta: { title: '明细' }
      }
  ]
}

export default userRouter
